package net.topcrazy.blog.service;

import net.topcrazy.blog.dao.ArticleDAO;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class ArticleService {
	@Autowired 
	private ArticleDAO dao;

	public void query() throws Exception {
		dao.query();
	}

	public void setDao(ArticleDAO dao) {
		this.dao = dao;
	}

}
